Skip to content

chore(security): exclude GHSA-w4pp-8pjf-rmxw pacote DoS advisory - #9584

Merged
mohammadalfaiyazbitgo merged 1 commit into
masterfrom
mohammadalfaiyaz/WEB-000-osv-pacote-exclusion
Aug 27, 2026
Merged

chore(security): exclude GHSA-w4pp-8pjf-rmxw pacote DoS advisory#9584
mohammadalfaiyazbitgo merged 1 commit into
masterfrom
mohammadalfaiyaz/WEB-000-osv-pacote-exclusion

Conversation

@mohammadalfaiyazbitgo

@mohammadalfaiyazbitgo mohammadalfaiyazbitgo commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Why

Release CI (Enforce Vulnerability Severity Threshold) started blocking releases after a new HIGH-severity advisory, GHSA-w4pp-8pjf-rmxw (CVE-2026-9496, CVSS 7.7), was published today against pacote — a DoS in addGitSha() triggered by a malicious spec.rawSpec.

Why it's safe to exclude

  • pacote only enters our tree transitively via dev/build tooling: lerna (pinned to pacote@21.0.1 exactly), @npmcli/arborist, @npmcli/metavuln-calculator, and yeoman-generator (^15.2.0, used by yarn sdk-coin:new).
  • None of these paths feed pacote untrusted/attacker-controlled specs — inputs come only from our own package.json/yarn.lock and lerna's internal publish/version flow.
  • The fix only lands in pacote@21.5.1/22.0.0, and no version satisfying lerna's exact 21.0.1 pin exists yet, so we can't bump without breaking the release/publish pipeline.
  • Same risk profile and reasoning pattern as the existing tar/minimatch dev-tooling exclusions already in osv-scanner.toml.

What

Adds one [[IgnoredVulns]] entry for GHSA-w4pp-8pjf-rmxw with the justification above.

Follow-up: re-evaluate once lerna/arborist/yeoman-generator bump to a pacote version ≥21.5.1.

pacote's addGitSha() has a DoS via malicious spec.rawSpec (CVE-2026-9496,
CVSS 7.7). pacote is only pulled in transitively via dev/build tooling
(lerna pinned to pacote@21.0.1, @npmcli/arborist, yeoman-generator) and
never processes untrusted input - specs come only from our own
package.json/yarn.lock. No fixed pacote version is compatible with
lerna's current pin, so exclude per existing pattern in osv-scanner.toml.

TICKET: WEB-000
@mohammadalfaiyazbitgo
mohammadalfaiyazbitgo force-pushed the mohammadalfaiyaz/WEB-000-osv-pacote-exclusion branch from b94faf6 to 80afcd1 Compare August 27, 2026 17:12
@mohammadalfaiyazbitgo
mohammadalfaiyazbitgo marked this pull request as ready for review August 27, 2026 17:34
@mohammadalfaiyazbitgo
mohammadalfaiyazbitgo requested review from a team as code owners August 27, 2026 17:34
@mohammadalfaiyazbitgo
mohammadalfaiyazbitgo merged commit 0a29311 into master Aug 27, 2026
23 checks passed
@linear-code

linear-code Bot commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

WAL-1956

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants